package cn.edu.cuit.elena.db;

import cn.edu.cuit.elena.common.Configuration;

public class DataSourceFactory
{

    public static DataSource createDataSourceByConfiguration( Configuration configuration )
    {
        return DataSource.create( configuration );
    }

    public static DataSource createDataSourceByConfiguration( Configuration configuration, boolean flag )
    {
        return DataSource.create( configuration, flag );
    }
}
